package comxin.demo1;

public class DemoB extends DemoA {
    int f1(int x){
        return x+2;
    }

    public static void main(String[] args) {
        DemoA demoB = new DemoB();

        System.out.println(demoB.f1(1));
    }
}
